package tinf.entropijsko;

public class UredjenaTrojka {
	
	public int getPomak() {
		return pomak;
	}

	public int getDuljina() {
		return duljina;
	}

	public Character getSljedeciSimbol() {
		return sljedeciSimbol;
	}

	private int pomak;
	private int duljina;
	private Character sljedeciSimbol;
	
	public UredjenaTrojka (int pomak, int duljina, Character sljedeciSimbol) {
		this.pomak = pomak;
		this.duljina = duljina;
		this.sljedeciSimbol = sljedeciSimbol;
	}
	
	@Override
	public String toString() {
		return new String ("("+ pomak + "," + duljina + "," + sljedeciSimbol + ")");
	}
}